import React from "react";
import { NavigationContainer } from "@react-navigation/native";
import { createNativeStackNavigator } from "@react-navigation/native-stack";
import QuotationScreen from "../screens/user/quotationScreen";
import QueryScreen from "../screens/user/queryScreen";
import DetialScreen from "../screens/user/detialScreen";
import { QuotationProvider } from "../context/user/quotationContext";
import { QueryProvider } from "../context/user/queryContext";
import { MaterialProvider } from "../context/suppiler/materialContext";

const Stack = createNativeStackNavigator();

const UserNavigation = () => {
  return (
    <MaterialProvider>
      <QuotationProvider>
        <QueryProvider>
          <Stack.Navigator initialRouteName="Quotation">
            <Stack.Screen
              name="Quotation"
              component={QuotationScreen}
              options={{ headerShown: false }}
            />
            {/* <Stack.Screen
              name="Query"
              component={QueryScreen}
              options={{ headerShown: false }}
            />
            <Stack.Screen
              name="Detial"
              component={DetialScreen}
              options={{ headerShown: false }}
            /> */}
          </Stack.Navigator>
        </QueryProvider>
      </QuotationProvider>
    </MaterialProvider>
  );
};

export default UserNavigation;
